﻿using MDK.Common;
using MDK.Device;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MDK.Winform.WebApi
{
    public class ATMMessageApiController
    {
        public HandoverStateChangedArgs HandoverStateChanged(HandoverStateChangedArgs args)
        {
            var arg = new Dictionary<string, object>()
            {
                {"arg", args},
            };
            EventHelper.Rasie("HandoverStateChanged", arg);
            return arg["arg"] as HandoverStateChangedArgs;
        }

        public bool EndHandover()
        {
            EventHelper.Rasie("EndHandover", new Dictionary<string, object>()
            {
            });
            return true;
        }
    }
}
